package com.tchintech.pay.widget;

import java.lang.reflect.Field;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TimeZone;



import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.View.OnTouchListener;
import android.widget.EditText;
import android.widget.TextView;

import com.tchintech.pay.R;

public class OnSelectTimeListener implements OnClickListener, OnTouchListener {
	private WheelMain wheelMain;
	private Context context;
	DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
	private EditText view;

	public OnSelectTimeListener(Context context, EditText view) {
		this.context = context;
		this.view = view;
	}

	@Override
	public boolean onTouch(View arg0, MotionEvent arg1) {
		if (arg1.getAction() == MotionEvent.ACTION_DOWN) {
			setTime();
		}
		return true;
	}

	private void setTime() {
	}

	@Override
	public void onClick(View arg0) {
		setTime();
	}
}
